﻿using Microsoft.AspNetCore.Mvc;
using PowerStation.AppCode;
using System.Collections;
using System.Collections.Generic;

namespace PowerStation.RequestModel
{
    /// <summary>
    /// 多重条件搜索
    /// </summary>
    public class RequestMultipleSearchModel:PageModel
    {
        /// <summary>
        /// 条件搜索项
        /// </summary>
        [FromQuery]
        public IEnumerable<RequestSingleSearchModel> searchItem { get; set; }
    }
    /// <summary>
    /// 多重条件搜索数据模型
    /// </summary>
    public class RequestSingleSearchModel { 
        /// <summary>
        /// 搜索的类型名称,例如联系人,姓名等
        /// </summary>
        public string typeName { get; set; }
        /// <summary>
        /// 搜索内容
        /// </summary>
        public string value { get; set; }
    }
}
